CREATE OR REPLACE PACKAGE "kesplus_app"."kes_plus_pkg_form_bind" AUTHID CURRENT_USER AS
    /**
     * @Description 表单流程绑定
     * @Param jsonData 参数
     */
 	FUNCTION bind(jsonData text)  RETURN JSON;
    /**
     * @Description 查询表单流程绑定集合
     * @Param jsonData 参数
     */
 	FUNCTION get_bind_form(processId varchar) RETURN JSON;
    /**
     * @Description 删除绑定记录
     * @Param id 配置ID
     */
 	PROCEDURE delete(id varchar);
    /**
     * @Description 查询绑定表单
     * @Param id 配置ID
     */
    FUNCTION get(id varchar) RETURN JSON;
    /**
     * @Description 查询一个节点绑定属性
     * @Param id 配置ID
     */
    FUNCTION get_node(id varchar,nodeId varchar) RETURN JSON;
    FUNCTION get_bind_config(formCode varchar) return json;
    _MODULECODE varchar;
end;

CREATE OR REPLACE PACKAGE BODY "kesplus_app"."kes_plus_pkg_form_bind" AS WRAPPED
eO1fnLjEjq7s7OuEkT0oPBHoEtWdss7fLqgQBi4iiBUXpn8g0cBKNEIDa0KX
hvCrpbNUUwWpzMeJf/DX1LB8nBq6ioaWtFFReSy0joLg0pLHPwss+jsFqk1B
3QVO8NbOAwCgv2RUb7zw5CF9ryQp8KDxlhnA5bNI/Rq+Vmrp86172VhKVg+w
apjnENQ0138Q/JW6U+31c1TtLJy6nFtcuebOERP9wmRyqFX//wWrVPYvXBFL
1nai/mHi7QDBkVWAxHUKQCIX0J2Fj8ElFWQLHXTp6EASqrU0Dh1J5J+7iQEi
qfq6FpRh4CzRGSw7/1SxnHrP20IOQiRBVlXhBlSZ5bXob4Gug7Hxmlxpkva3
niQ+t5oOIh4NAGiyGkAVqVGSNgVHX3OdyYnNL175VWuw0/R4FaIQoShXEdyF
Xzq9HRfnWP7NRttnUpV4xBWVfVAN1QIaV+IbGaGoSzQFkvaFhe2nfrOOISS4
SragUGDgtCMM2R81y6mzkwIGlnJOzaWL5n4VNwXunsxtIS+U/bHBV/tS7UnR
I+r8c21EaH8J13fw4vZa8957ZOYgHk/Kc43C4VPrO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